<style type="text/css">
.list-group-head{ height:40px; line-height:40px;color:#F4F8EB;text-indent:2em;
			 background:-webkit-gradient(linear, 0 0, 0 100%, from(#483E3A), to(#261B17)); 
			 background:-moz-linear-gradient(top, #483E3A,#261B17);
			 cursor: pointer;
			 
}
 .fist-child{ border-radius:10px 10px 0px 0px;}
 .last-child{border-radius:0px 0px 10px 10px;}
.list-group{margin-bottom:0px;}
</style>

<if condition="$Think.session.user.user_type eq 2">
<div class="list-group-head fist-child">基础设置</div>
<div class="list-group">
	<a class="list-group-item" href="{:u('user/Message/index')}"><i class="fa fa-comments-o"></i>系统消息</a>
	<a class="list-group-item" href="{:u('user/profile/edit')}"><i class="fa fa-list-alt"></i> 修改资料</a>
	<a class="list-group-item" href="{:u('user/profile/password')}"><i class="fa fa-lock"></i> 修改密码</a>
	<a class="list-group-item" href="{:u('user/profile/avatar')}"><i class="fa fa-user"></i> 编辑头像</a>
	<a class="list-group-item" href="{:u('user/profile/pubWeChat')}"><i class="fa fa-exchange"></i> 绑定公众号</a>
		<a class="list-group-item" href="{:u('user/profile/WeChat')}"><i class="fa fa-exchange"></i> 绑定微信号</a>
	
	<a class="list-group-item" href="{:u('comment/comment/index')}"><i class="fa fa-comments-o"></i> 我的评论</a>
</div>
<div class="list-group-head">我的账户</div>
<div class="list-group">
	<a class="list-group-item" href="{:u('user/Money/index')}"><i class="fa fa-exchange"></i>账户日志</a>

	<a class="list-group-item" href="{:u('user/Money/index',array('act'=>'bank'))}"><i class="fa fa-star-o"></i>会员提现</a>
</div>
<div class="list-group-head ">任务管理</div>
<div class="list-group">

	<a class="list-group-item" href="{:u('user/Task/completed',array('type'=>1))}"><i class="fa fa-star-o"></i> 已完成求粉任务</a>
	<a class="list-group-item" href="{:u('user/Task/completed',array('type'=>2))}"><i class="fa fa-star-o"></i> 已完成的阅读任务</a>
	<a class="list-group-item" href="{:u('user/Task/poputask',array('type'=>1))}"><i class="fa fa-star-o"></i> 我接到的公众号任务</a>
	<a class="list-group-item" href="{:u('user/Task/poputask',array('type'=>2))}"><i class="fa fa-star-o"></i> 我接到的朋友圈任务</a>
	<a class="list-group-item" href="{:u('user/Task/make')}"><i class="fa fa-star-o"></i> 做任务赚积分</a>
</div>
<div class="list-group-head last-child"></div>	
<else />
<div class="list-group-head fist-child">基础设置</div>
<div class="list-group">
	<a class="list-group-item" href="{:u('user/Message/index')}"><i class="fa fa-comments-o"></i>系统消息</a>
	<a class="list-group-item" href="{:u('user/profile/edit')}"><i class="fa fa-list-alt"></i> 修改资料</a>
	<a class="list-group-item" href="{:u('user/profile/password')}"><i class="fa fa-lock"></i> 修改密码</a>
	<a class="list-group-item" href="{:u('user/profile/avatar')}"><i class="fa fa-user"></i> 编辑头像</a>
	<a class="list-group-item" href="{:u('user/profile/pubWeChat')}"><i class="fa fa-exchange"></i> 绑定公众号</a>

	<a class="list-group-item" href="{:u('user/favorite/index')}"><i class="fa fa-star-o"></i> 我的收藏</a>

</div>
<div class="list-group-head fist-child">资源查看</div>
<div class="list-group">
		<a class="list-group-item" href="{:u('user/task/resourceService')}"><i class="fa fa-star-o"></i>服务号资源查看</a>
		<a class="list-group-item" href="{:u('user/task/resourceSubscribe')}"><i class="fa fa-star-o"></i>订阅号资源查看</a>
		<a class="list-group-item" href="{:u('user/task/resourceFriend')}"><i class="fa fa-star-o"></i>朋友圈资源查看</a>

</div>

<div class="list-group-head">我的账户</div>
<div class="list-group">
	<a class="list-group-item" href="{:u('user/Money/index')}"><i class="fa fa-exchange"></i>账户日志</a>
	<a class="list-group-item" href="{:u('user/Money/index',array('act'=>'incharge'))}"><i class="fa fa-star-o"></i>在线充值</a>
	<a class="list-group-item" href="{:u('user/Money/index',array('act'=>'incharge_log'))}"><i class="fa fa-star-o"></i>充值日志</a>
	<a class="list-group-item" href="{:u('user/Money/index',array('act'=>'bank'))}"><i class="fa fa-star-o"></i>会员提现</a>
</div>
<div class="list-group-head ">任务管理</div>
<div class="list-group">
	<a class="list-group-item" href="{:u('user/Task/add')}"><i class="fa fa-exchange"></i> 发布任务</a>
	<volist name="tasktype" id="vo">
		<a class="list-group-item" href="{$taskMang[$key]}"><i class="fa fa-star-o"></i> {$vo}任务管理</a>
	</volist>

</div>
<div class="list-group-head last-child"></div>	

</if>


